package com.spring.annotation_import_demo;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@Import(ConfigA.class)
public class ConfigB {

	@Bean
	public BeanTest beanB(){
		return new BeanTest("BeanBBB");
	}
}
